<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();//获得当前的项目根目录路径赋值给path
%>
<jsp:include page="/WEB-INF/jsp/common/header.jsp"></jsp:include>
<link rel="stylesheet" href="<%=path%>/static/css/page.css" />
<body>
<!--nav start-->
<jsp:include page="/WEB-INF/jsp/common/nav.jsp"></jsp:include>
<div class="inside_wrap">
    <div class="inside_con">
        <div class="adr" style="margin-left: 150px">
            <a href="index.html">首页></a><a href="<%=path%>/client/board">公告列表></a>公告详情
        </div>
        <div class="inside_box">
            <div class="topic_wrap fl" style="margin-left: 150px">
                <div class="t_label">

                    <div class="tl_tab fl">
                        <a href="<%=path%>/client/board" id="hot_week" class="active">返回</a>
                        <a href="<%=path%>/goods/toAdd"  class="active">发布失物</a>
                    </div>
                    <div class="search fr">
                        <form action="<%=path%>/client/board" method="post" id="searchForm">
                        <input type="text" name="title" id="title" value="" placeholder="请输入公告名称" class="input_tp" />
                        <button type="button" class="btn">搜索</button>
                        </form>
                    </div>
                </div>
                <div class="tl_con">
                    <h3>${record.title}<span class="addressor">发布日期：<fmt:formatDate value="${record.create_time}" pattern="yyyy-MM-dd HH:mm:ss"/>&nbsp;&nbsp;&nbsp;</span></h3>
                    <p>${record.content}</p>
                </div>
            </div>

            <div class="clear"></div>
        </div>
    </div>
</div>

<!--footer start-->
<jsp:include page="/WEB-INF/jsp/common/footer.jsp"></jsp:include>
<script src="<%=path%>/static/js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="<%=path%>/static/js/jquery.SuperSlide.2.1.js" type="text/javascript"></script>
<script src="<%=path%>/static/js/common.js"></script>
<script src="${pageContext.request.contextPath}/static/layuiadmin/layui/layui.js"></script>
<script>
    //Demo
    layui.use(['form','upload','jquery','laydate','layedit'], function() {
        var $ = layui.$
            , upload = layui.upload
            , form = layui.form
            , laydate = layui.laydate
            , layedit = layui.layedit;

        //执行一个laydate实例
        laydate.render({
            elem: '#create_date'//指定元素

        });
    });
</script>
<script>


    function doPage(pageNo) {
        document.getElementById("pageNum").value = pageNo;
        document.getElementById("searchForm").submit();
    }
    function changePageSize(cur_pageSize){
        document.getElementById("pageSize").value=cur_pageSize;
        document.getElementById("searchForm").submit();//表单提交
    }
</script>
</body>
</html>
